#ifndef MAINVIEW_H
#define MAINVIEW_H

#include <QGraphicsView>

class NameItem;

class MainView : public QGraphicsView
{
    Q_OBJECT
public:
    explicit MainView(QWidget *parent = 0);
    ~MainView();
    void initNameList();
    virtual void closeEvent(QCloseEvent *);

    QGraphicsScene  *m_scene;
    QList<NameItem*>    m_namelist;
signals:

public slots:

};

#endif // MAINVIEW_H
